Function |pow

std/ops/num::|pow


Usage

|pow<N>(val, exp)

Generics

◻ N: Pow

Parameters

↳ val: N
↳ exp: u32

Return

↴ N


Compute exponent of given value

This function is infaillible but may overflow if valᵉˣᵖ is out of bounds for the data type.